package com.wtwd.campus.h5_manager.dao;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtwd.campus.h5_manager.entity.H5ManageSysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mjy
 * @since 2022-03-04
 */
@Mapper
public interface H5ManageSysPermissionMapper extends BaseMapper<H5ManageSysPermission> {

    int deleteByNonId(@Param("ids") List<Integer> ids);

    int saveOrUpdate(@Param("param") JSONObject param);

    List<H5ManageSysPermission> getAllPermission();
}
